package com.zdkj.subway.st.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @support: 三永华通科技有限公司
 * @author: cui_com
 * @version: 1.0
 * @Date: 2020-08-19 17:51
 * @Description: <p>
 * 车票入库分箱操作
 * </p>
 */
@Data
@ApiModel(value = "车票入库分箱管理")
@EqualsAndHashCode(callSuper = true)
@TableName("sw_tk_input_box_detail")
public class SwStInputBoxDetail extends Model<SwStInputBoxDetail> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;

    @ApiModelProperty(value = "入库单Id")
    private Integer refId;

    @ApiModelProperty(value = "入库单流水号")
    private String refNo;

    @ApiModelProperty(value = "箱子流水号")
    private String boxNo;

    @ApiModelProperty(value = "数量")
    private Integer ticketNumber;

    @ApiModelProperty(value = "票卡卡号")
    private String ticketNo;

    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     * 是否删除  1：已删除  0：正常
     */
    @TableLogic
    private String delFlag;
}
